/**
 * Created by Administrator on 2016/4/18.
 */

$(function(){
    $(".click").click(function () {
        var $startTime = $('#ordertime_start').val();
        var $endTime = $('#ordertime_end').val();
        if ($startTime <= $endTime){
            return true
        }
        else {
            layer.msg('请选择正确的时间！', {
                icon: 2,
                shade: 0.2,
            });
            return false
        }
        console.log($startTime)
        console.log($endTime)
    });

})
